package org.googlecode.lightning.search.index;

import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.Field.Index;
import org.apache.lucene.document.Field.Store;
/**
 * 
 * @author daragon
 *
 */
public interface IIndexField {

	public abstract String getIndexName();

	public abstract Store getStore();

	public abstract Index getIndex();

	public abstract Field toField(String value);

	public abstract void addToDoc(Document doc, String value);

	public abstract void removeFromDoc(Document doc);

	public abstract String getFromDoc(Document doc);

}